package com.itheima.example;

public class Example05 {
    public static void main(String[] args) {
        int i=1,sum=0;
        do {
            sum+=i;
            i++;
        } while (i<=10);
        System.out.println("sum="+sum);
    }
}
